<?php

namespace App\Models\PrizeRecord;

use App\Support\Database\Eloquent\UuidModel;

class PrizeRecord extends UuidModel
{
    const ENTEY    = 'entry';
    const DELIVERY = 'delivery';
    const CREATE   = 'create';
    const RECYCLE  = 'recycle';
    //实物奖品的操作名称
    const ENTITY_OPERATES = array(
        'create' => '入库',
        'entry' => '入库',
        'delivery' => '出库',
        'recycle' => '回收',
    );
    //红包奖品的操作名称
    const MONEY_OPERATES = array(
        'create' => '充值购买',
        'entry' => '活动回收',
        'delivery' => '活动发放',
        'recycle' => '回收',
    );
    protected $fillable = ['id', 'prize_id', 'activity_id', 'limit', 'number', 'summary', 'probability', 'operate'];
}
